package org.scct.chenhui.model;

public class BookBean {
    int id;
    String bookName;
    int typeId;
    String typeName;
    String author;
    int publishID;
    String publishName;
    float price;
    int number;
    //status 0 下架 ，1上架
    int status;
    String remark;

    public BookBean() {
    }

    public BookBean(int id, String bookName, int typeId, String typeName, String author, int publishID, String publishName, float price, int number, int status, String remark) {
        this.id = id;
        this.bookName = bookName;
        this.typeId = typeId;
        this.typeName = typeName;
        this.author = author;
        this.publishID = publishID;
        this.publishName = publishName;
        this.price = price;
        this.number = number;
        this.status = status;
        this.remark = remark;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public int getPublishID() {
        return publishID;
    }

    public void setPublishID(int publishID) {
        this.publishID = publishID;
    }

    public String getPublishName() {
        return publishName;
    }

    public void setPublishName(String publishName) {
        this.publishName = publishName;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "BookBean{" +
                "id=" + id +
                ", bookName='" + bookName + '\'' +
                ", typeId=" + typeId +
                ", typeName='" + typeName + '\'' +
                ", author='" + author + '\'' +
                ", publishID=" + publishID +
                ", publishName='" + publishName + '\'' +
                ", price=" + price +
                ", number=" + number +
                ", status=" + status +
                ", remark='" + remark + '\'' +
                '}';
    }
}
